<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/11/20
 * Time: 11:38
 * GetBannerPageTransformer.php
 */


namespace App\Http\Transformers\AuctionRule;

use App\Models\AuctionRule;
use League\Fractal\TransformerAbstract;

class GetAuctionRulePageTransformer extends TransformerAbstract
{
    public function transform(AuctionRule $auctionRule)
    {
        return $auctionRule->toArray();
    }
}
